package love.bot.forli.group.review.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * @author Kontori
 */
@Data
@ApiModel(description = "题目选项")
public class QuestionOption {

    @ApiModelProperty(value = "选项ID")
    @TableId(value = "question_option_id",type = IdType.AUTO)
    private Integer questionOptionId;

    @ApiModelProperty(value = "题目ID")
    private Integer questionId;

    @ApiModelProperty(value = "选项内容")
    private String content;

    @ApiModelProperty(value = "选项顺序")
    @TableField("`order`")
    private Integer order;

}
